/**
 * Created with IntelliJ IDEA
 * Description:
 * User:恋恋
 * Date:2023-03-14
 * Time:17:02
 */
class Animal {

    void jump() { System.out.println("Animal"); }

}

class Cat extends Animal {

    void jump(int a) { System.out.println("Cat"); }

}

class Rabbit extends Animal {

    void jump() { System.out.println("Rabbit"); }

}

public class Circus {

    public static void main(String args[]) {

        Animal cat = new Cat();

        Rabbit rabbit = new Rabbit();

        cat.jump();

        rabbit.jump();

    }

}



